<template>
	<view class="container">
		<uni-card title="快递员信息" extra="联系他" style="margin-top: 0px;" @click="call">
			<view class="" style="display: flex;align-items: center;">
				<image src="/static/tx.png" style="height: 70px;width: 70px;" mode=""></image>
				<view class="" style="margin-left: 10px;">张三</view>
			</view>
			<view class="item" style="margin-top: 5px;">地址：南湾街道厦村社区恒大国香山花园业委会</view>
			<view class="item" style="margin-top: 5px;">联系电话：12345678911</view>
			<view class="item" style="margin-top: 5px;display: flex;align-items: center;">评分：<uni-rate size="16"
					value="5" readonly></uni-rate>
			</view>
			<view class="item" style="margin-top: 5px;">好评率：99%</view>
		</uni-card>
		<button type="primary" @click="submit" style="margin-top: 10px;">评价</button>
		<comment></comment>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		onLoad(item) {

		},
		onReady() {

		},
		onShow() {

		},
		methods: {
			submit(){
				uni.navigateTo({
					url: '../pjia/pjia',
					success: res => {},
					fail: () => {},
					complete: () => {}
				});
			},
			call() {
				uni.makePhoneCall({
					phoneNumber: "12345678911"
				})
			}
		}
	};
</script>

<style lang="scss">

</style>
